﻿@model BackEnd.Models.UserCreateModel
@{
    ViewBag.Title = "Create an user";
}

<h2>@ViewBag.Title</h2>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()
          
        <table>
            <tr>
                <td class="editor-label">
                    @Html.LabelFor(m => m.UserName)
                </td>
                <td class="editor-field">                    
                    @*<img class="NFTextLeft" src="/Content/Img/0.png">
                    <div class="NFTextCenter">*@
                        @Html.TextBoxFor(m => m.UserName)
                   @* </div>
                    <img class="NFTextRight" src="/Content/Img/0.png">*@
                </td>
            </tr>
            <tr>
                <td class="editor-label">
                    @Html.LabelFor(m => m.Password)
                </td>
                <td class="editor-field">                    
                    @*<img class="NFTextLeft" src="/Content/Img/0.png">
                    <div class="NFTextCenter">*@
                        @Html.PasswordFor(m => m.Password)
                    @*</div>
                    <img class="NFTextRight" src="/Content/Img/0.png">*@
                </td>
            </tr>
            <tr>
                <td class="editor-label">
                    @Html.LabelFor(m => m.ConfirmPassword)
                </td>
                <td class="editor-field">                    
                    @*<img class="NFTextLeft" src="/Content/Img/0.png">
                    <div class="NFTextCenter">*@
                        @Html.PasswordFor(m => m.ConfirmPassword)
                    @*</div>
                    <img class="NFTextRight" src="/Content/Img/0.png">*@
                </td>
            </tr>
            <tr>
                <td class="editor-label">@Html.LabelFor(m => m.FirstName)</td>
                <td class="editor-field">
                    @*<img class="NFTextLeft" src="/Content/Img/0.png">
                    <div class="NFTextCenter">*@
                        @Html.TextBoxFor(m => m.FirstName)
                    @*</div>
                    <img class="NFTextRight" src="/Content/Img/0.png">*@
                </td>

            </tr>
            <tr>
                <td class="editor-label">@Html.LabelFor(m => m.LastName)</td>
                <td class="editor-field">
                   @* <img class="NFTextLeft" src="/Content/Img/0.png">
                    <div class="NFTextCenter">*@
                        @Html.TextBoxFor(m => m.LastName)
                    @*</div>
                    <img class="NFTextRight" src="/Content/Img/0.png">*@
                </td>
            </tr>
            <tr>
                <td></td>
                <td>                    
                    <img class="NFButtonLeft NFh" src="/Content/Img/0.png"><input id="submit" class="NFButton NFh" type="submit" value="Create user" name="submit"><img class="NFButtonRight NFh" src="/Content/Img/0.png">
                    @Html.ActionLink("Back", "Index")
                </td>
            </tr>
        </table>
            
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
